Skip to content

Conversation

@wtrocki
Copy link
Member

@wtrocki wtrocki commented Mar 17, 2025

Proposed changes

Alternative 1 for handling unsupported exceptions.
All children should have exception to prevent adding new methods to the path (making it harder to migrate)

if (oas.paths[input]) {
const pathItem = oas.paths[input];
if (hasExceptionInEveryHttpMethod(pathItem, RULE_NAME)) {
collectException(pathItem, RULE_NAME, path);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Collect exception needs message but we have multiple exceptions here.
Leaving as draft to discuss approach.

@wtrocki
Copy link
Member Author

wtrocki commented Mar 18, 2025

Closing

@wtrocki wtrocki closed this Mar 18, 2025
@wtrocki wtrocki deleted the CLOUDP-304929-exceptions branch March 18, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant